package test;

import ch01.Cmd;

public class testCh01 {
    public static void main(String[] args) {
        Cmd cmd = new Cmd(args);

        if(!cmd.isRight()){
            System.out.println("Unrecognized command!");
            System.out.println("Usage: java [-options] class [args...]");
        }else if(cmd.isHelpFlag()){
            System.out.println("Usage: java [-options] class [args...]");
        }else if(cmd.isVersionFlag()){
            System.out.println("Version.0.0.1");
        }else{
            System.out.println("start jvm");
        }
    }
}
